<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>手动执行时效统计页面</title>
<script type="text/javascript" src="js/jquery/jquery-1.7.1.min.js"></script>
<script type="text/javascript">
function ajaxExecute(){
	$.ajax({
		url : "MaexecuteEffectAction!executeEffect",
		data : {},
		dateType : 'text',
		type : 'post',
		error : function() {
		},
		success : function(o) {
			eval("var date =" + o);
			if (date.result == "success") {
		      	alert("时效统计手动执行完成");
			}else{
				alert("时效统计手动执行失败");
			} 
		}
	});
}

</script>
</head>
<body>
<form action="" method="post" id="test" name="test" onsubmit="return ajaxExecute()">
  <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr align="center">
    	<td colspan="2">
		    点击提交按钮后自动执行时效统计功能！
	    </td>
    </tr>
    <tr align="center">
    	<td colspan="2">
		    <input type="submit" name="Submit" id="Submit" value="提交" />&nbsp;&nbsp; 
			<input type="reset" name="reset" onclick="resetParam()" value="重置" />&nbsp;&nbsp; 
		    <input type="button" value="返回" onclick="history.go(-1);" />
	    </td>
    </tr>
  </table>
</form>
</body>
</html>